<?php defined('EMLOG_ROOT') || exit('access denied!'); ?>
<!doctype html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name=renderer content=webkit>
    <title>个人中心 - <?= Option::get('blogname') ?></title>
    <link rel="stylesheet" type="text/css" href="./views/css/style.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <link rel="stylesheet" type="text/css" href="./editor.md/css/editormd.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <link rel="stylesheet" type="text/css" href="./views/css/bootstrap-sbadmin-4.5.3.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <link rel="stylesheet" type="text/css" href="./views/css/css-main.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <link rel="stylesheet" type="text/css" href="./views/css/icofont/icofont.min.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <link rel="stylesheet" type="text/css" href="./views/css/dropzone.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <link rel="stylesheet" type="text/css" href="./views/css/cropper.min.css?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>">
    <script src="./views/js/jquery.min.3.5.1.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/bootstrap.bundle.min.4.6.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/jquery-ui.min.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/jquery.ui.touch-punch.min.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/jquery.ui.timepicker-addon.min.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/js.cookie-2.2.1.min.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/cropper.min.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/js/common.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/components/layer/layer.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <script src="./views/components/message.min.js?t=<?= Option::EMLOG_VERSION_TIMESTAMP ?>"></script>
    <?php doAction('adm_head') ?>
    <style>
        #uc-top-bar {
            background: #4e73df;
            border-radius: 12px;
            max-width: 1200px;
            margin: 0 auto;
        }

        #uc-top-bar a {
            color: white;
        }

        #uc-main {
            border: none;
            border-radius: 12px;
            max-width: 1200px;
            margin: 0 auto;
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
    </style>
</head>

<body class="d-flex flex-column h-100 bg-light">
    <div id="editor-md-dialog"></div>
    <main class="flex-shrink-0">
        <div class="col-lg-12 col-xl-12 col-xxl-12">
            <div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 border-bottom shadow-sm mt-5" id="uc-top-bar">
                <h4 class="my-0 mr-md-5 font-weight-normal"><a href="./"><?= subString(Option::get('blogname'), 0, 12) ?></a></h4>
                <nav class="my-2 my-md-0 mr-md-auto">
                    <a class="p-2" href="./">个人中心</a>
                    <?php if (!Article::hasForbidPost()): ?>
                        <a class="p-2" href="article.php"><?= Option::get("posts_name") ?></a>
                        <?php if (Option::get('forbid_user_upload') !== 'y') : ?>
                            <a class="p-2" href="media.php">媒体库</a>
                        <?php endif ?>
                    <?php endif ?>
                    <a class="p-2" href="comment.php">评论</a>
                    <?php doAction('user_menu') ?>
                </nav>
                <nav class="my-2 my-md-0 mr-md-3">
                    <a class="mr-2" href="blogger.php">设置</a>
                    <span class="text-white mx-2">|</span>
                    <a class="p-2" href="<?= BLOG_URL ?>">返回首页</a>
                    <span class="text-white mx-2">|</span>
                    <a class="" href="account.php?action=logout">退出</a>
                </nav>
            </div>
        </div>
        <div class="container p-3 my-5" id="uc-main">
            <div class="row gx-5 justify-content-center">
                <div class="col-lg-12 col-xl-12 col-xxl-12">